
<!DOCTYPE html>
<%@ page language="java" import="java.sql.*" pageEncoding="utf-8"%>
<%@ page import="java.util.List" %>
<%@ page import="com.ljm.bin.imageUrl" %>
<%@ page import="com.ljm.util.ImageUrlUtil" %>

<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<%
    List<imageUrl> ursl =null;
    try {
        ursl= ImageUrlUtil.result();
    } catch (SQLException e) {
        e.printStackTrace();
    }
    for(imageUrl i :ursl){
//        out.println(i.getUrl());
        request.setAttribute("url",i.getUrl());
%>
<form method="get" >
    <img src="${url}" alt="">
</form>
<%

    }
%>
</body>

</html>